package com.newcoder.community.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author edison
 * @version 2023
 * @date 2024/1/21 17:41
 */

@Controller
@RequestMapping("/")
public class IndexController {
    @GetMapping
    public String index(){
        return "forward:/index";
    }
}
